// axios 模块
import axios from 'axios'
import config from '../config/config.js'

// 创建实例，配置默认值

const http = axios.create()

// 配置基路径
http.defaults.baseURL = config.api

export default http